Skip to content

Portable SIMD subtree update#151775

Merged
rust-bors[bot] merged 48 commits intorust-lang:mainfrom
calebzulawski:sync-from-portable-simd-2026-01-28
Jan 29, 2026
Merged

Portable SIMD subtree update#151775
rust-bors[bot] merged 48 commits intorust-lang:mainfrom
calebzulawski:sync-from-portable-simd-2026-01-28

Conversation

@calebzulawski
Copy link
Member

calebzulawski and others added 30 commits January 18, 2025 15:37
The `#[must_use]` attribute has no effect when applied to methods in
trait implementations.
Remove usize/isize impls from
- `loongarch64.rs`
- `wasm32.rs`
- `x86.rs`
Remove usize/isize `From` impls for vendor vector types
Add const to `as_mut_array`, `copy_to_slice`
Update examples to remove features that have been stabilized
Update nightly toolchain and `Cargo.lock`, fix examples broken by stabilized features
loongarch64: Use unified data types for SIMD intrinsics
@rustbot rustbot added the T-libs Relevant to the library team, which will review and decide on the PR/issue. label Jan 28, 2026
@rust-log-analyzer

This comment has been minimized.

@calebzulawski calebzulawski force-pushed the sync-from-portable-simd-2026-01-28 branch from df7dede to db243a5 Compare January 28, 2026 22:35
@rust-log-analyzer

This comment has been minimized.

@calebzulawski calebzulawski force-pushed the sync-from-portable-simd-2026-01-28 branch from db243a5 to b71ff51 Compare January 28, 2026 23:35
@rustbot
Copy link
Collaborator

rustbot commented Jan 28, 2026

The Miri subtree was changed

cc @rust-lang/miri

@calebzulawski
Copy link
Member Author

@RalfJung I had to update the miri tests in the last commit to match std::simd. This is fine and will sync back to miri, right?

@RalfJung
Copy link
Member

Yes, that'll be synced automatically after this PR lands. Thanks for the fixes!

@folkertdev
Copy link
Contributor

I asked at #t-infra > PRs/issues mentioned in subtree sync just to check, and yeah there is not much we can do about the PR mentions now.

@bors r+ p=1

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 29, 2026

📌 Commit b71ff51 has been approved by folkertdev

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 29, 2026
rust-bors bot pushed a commit that referenced this pull request Jan 29, 2026
Rollup of 5 pull requests

Successful merges:

 - #151775 (Portable SIMD subtree update)
 - #151488 (Tweak E0599 to consolidate unsatisfied trait bound messages)
 - #149823 (fix(parser): Disallow CR in frontmatter )
 - #151475 (add foregin type tests for issue 64458)
 - #151657 (Cleanup of `#[derive(Diagnostic)]` attribute parsers)
@rust-bors rust-bors bot merged commit d49f50f into rust-lang:main Jan 29, 2026
11 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Jan 29, 2026
rust-timer added a commit that referenced this pull request Jan 29, 2026
Rollup merge of #151775 - calebzulawski:sync-from-portable-simd-2026-01-28, r=folkertdev

Portable SIMD subtree update

cc @folkertdev @programmerjake
@nnethercote
Copy link
Contributor

Fun fact: this caused a small perf win for doc builds. See the rollup PR (#151816) for measurements.

@calebzulawski
Copy link
Member Author

Pleasant surprise! We removed a trait bound from nearly every function in the module, I wonder if that did it.

github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Jan 30, 2026
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#151775 (Portable SIMD subtree update)
 - rust-lang/rust#151488 (Tweak E0599 to consolidate unsatisfied trait bound messages)
 - rust-lang/rust#149823 (fix(parser): Disallow CR in frontmatter )
 - rust-lang/rust#151475 (add foregin type tests for issue 64458)
 - rust-lang/rust#151657 (Cleanup of `#[derive(Diagnostic)]` attribute parsers)
@orlp
Copy link
Contributor

orlp commented Feb 2, 2026

std::simd::Select is a very strangely named trait (not SimdSelect like the other SIMD traits) and is not included in std::simd::prelude for some reason?

@programmerjake
Copy link
Member

std::simd::Select is a very strangely named trait (not SimdSelect like the other SIMD traits) and is not included in std::simd::prelude for some reason?

please open an issue on https://github.com/rust-lang/portable-simd if one doesn't already exist. a merged PR isn't a good spot to raise issues since it's usually ignored since the PR is already completed.

@orlp
Copy link
Contributor

orlp commented Feb 2, 2026

@programmerjake rust-lang/portable-simd#505

Kobzol pushed a commit to Kobzol/portable-simd that referenced this pull request Feb 3, 2026
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#151775 (Portable SIMD subtree update)
 - rust-lang/rust#151488 (Tweak E0599 to consolidate unsatisfied trait bound messages)
 - rust-lang/rust#149823 (fix(parser): Disallow CR in frontmatter )
 - rust-lang/rust#151475 (add foregin type tests for issue 64458)
 - rust-lang/rust#151657 (Cleanup of `#[derive(Diagnostic)]` attribute parsers)
Kobzol pushed a commit to Kobzol/portable-simd that referenced this pull request Feb 3, 2026
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#151775 (Portable SIMD subtree update)
 - rust-lang/rust#151488 (Tweak E0599 to consolidate unsatisfied trait bound messages)
 - rust-lang/rust#149823 (fix(parser): Disallow CR in frontmatter )
 - rust-lang/rust#151475 (add foregin type tests for issue 64458)
 - rust-lang/rust#151657 (Cleanup of `#[derive(Diagnostic)]` attribute parsers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.